﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for UserRoleController
    /// </summary>
    public class UserRoleController
    {
        public static UserRoleBO _userRoleBo;
        public UserRoleController()
        {
            _userRoleBo = new UserRoleBO();
        }

        public List<UserRole> GetListUserRole()
        {
            return _userRoleBo.GetListUserRole();
        }

        public int AddUserRole(UserRole userRole)
        {
            return _userRoleBo.AddUserRole(userRole);
        }


    }
}